{
    "targets": [
        {
            "target_name": "freedatabase",
            "sources": [
                "src/connectionoptions.h",
                "src/connectionoptions.cc",
                "src/taskoptions.h",
                "src/taskoptions.cc",
                "src/xmlimportorlistener.h",
                "src/wrap.h",
                "src/options.h",
                "src/freedatabase.cc"
            ],
            "include_dirs":[
                "third/include/",
                "third/include/kernel/"
                "third/include/MYSQL/"
                "third/include/udatabase/"
                "third/include/udataset/"
            ],
            'conditions': [
                [
                    'OS=="win"',{
                        "libraries":[
                            "-l<(module_root_dir)/third/lib/kernel",
                            "-l<(module_root_dir)/third/lib/database",
                            "-l<(module_root_dir)/third/lib/modeldb",
                        ],
                    }
                ],
				['OS=="linux"', {
						'cflags': [
							'--std=c++11',
							'-pthread'
						],
						'defines': [
							'UNIX'
						],
                        "libraries":[
                            "-lkernel",
                            "-ldatabase",
                            "-lmodeldb"
                        ],
					}

				]	
			]
        }
    ]
}
